package com.old.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Video {
    private Integer id; // 戏曲id
    private Integer authorId; // 发布者id
    private String imageUrl; // 戏曲视频首帧图片地址
    private String title; // 标题

    private String likes; // 点赞数
    private String videoUrl; // 戏曲地址

    private  String LikeMan;

    private boolean isGood; //用户是否点赞

    private String content;//内容
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private Integer isShow;  //状态: 0审核中，1已审核

}
